package com.movie.ticket.sale.movieassembly.controller.form;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.redis.core.RedisHash;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@RedisHash("TMovie")
public class TMovie implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    private int id;
    private String name;
    private String type;
    private String introduce;
    private int time;
    private Double boxOffice;
    private Double movieGrade;
    private int state;
    private LocalDateTime releaseDate;
}
